{{#include "/pages/catering/pc/image_wall.html"}}
<div class="index">
	{{#each goods_list}}
	<catering_goods
		href="#default/detail?id={{_id}}"
		src="{{preview_img_url}}"
		name="{{goods_name}}"
		price="{{price}}"	
	></catering_goods>
	{{/each}}
</div>
<div class="newstore">
	<div class="title click" title="{{show_qrcode&&'收起'||'展开查看'}}二维码" event-click="{{'$Event.show_store_qrcode'}}">{{show_qrcode&&"收起"||"查看分享"}}二维码</div>
	<jqrcode
	    text="{{bus_info.info.domain_url}}/catering.main.html#default/main?rcid={{loginer._id}}"
	    ec-level="H"
	    size="150"
	    radius="0"
	    m-image="{{bus_info.info.logo_url}}"
	    m-size="40"
	    bind-input="{{'$Cache.bus.qrcode_data'}}"
	    class="qrcode {{show_qrcode&&'focus'}}"
	>
    </jqrcode>
	{{#if $Cache.bus.assshop.list.length}}
	<div class="title">联盟店铺</div>
	{{#each $Cache.bus.assshop.list}}
	<a href="{{bus.url}}" title="{{bus.url}}" target="blank">{{bus.info.title}}</a>
	{{/each}}
	{{/if}}
</div>
<xmp type="tag" name="catering_goods">
	<div class="goods">
		<a target="_blank" href="${href}">
			<img bind-src="${src}" />
		</a>
		<div class="info">
			<div class="name">
				<a target="_blank" href="${href}">${name}</a>
			</div>
			<div class="price">
				￥<span>${price}</span>
			</div>
			<div class="method">
				<button event-click="{{'$Top.$Event.goods_list.add_to_cart'}}">加入购物车</button>
			</div>
		</div>
	</div>
</xmp>	